package entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Faci {
    private Integer id;//公共设施编号
    private String name;//公共设施名称
    private String contractor;//设施承建商
    private String phone;//承建商电话
    private String leader;//设施负责人

    private String date;//设施交付日期

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Faci() {
    }


    public Faci(Integer id, String name, String contractor, String phone, String leader, String date) {
        this.id = id;
        this.name = name;
        this.contractor = contractor;
        this.phone = phone;
        this.leader = leader;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Faci{" +
                "id='" + id + '\'' +
                ", name=" + name +
                ", contractor=" + contractor+
                ", phone=" + phone +
                ", leader=" + leader +
                ", date=" + date +
                '}';
    }

    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getContractor() { return contractor; }
    public void setContractor(String contractor) { this.contractor = contractor; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public String getLeader() { return leader; }
    public void setLeader(String leader) { this.leader = leader; }
}

